    <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta http-equiv="X-UA-Compatible" content="ie=edge">
        <title>CH1EX1: Basic Hello World HTML</title>
        <script type="text/javascript">
        window.addEventListener("load",eventWindowLoaded,false);
        
        function eventWindowLoaded(){
            canvasApp();
        }
        
        function canvasApp(){
            var theCanvas=document.getElementById("canvasOne");
            var context=theCanvas.getContext("2d");

            //background
            context.fillStyle="#ffffaa";
            context.fillRect(0,0,500,300);

            //text
            context.fillStyle="#000000";
            context.font="20px Sans-Serif";
            context.textBaseline="top";
            context.fillText=("Hello World!",195,80);

            //image
            var helloWorldImage=new Image();
            helloWorldImage.onload=function(){
                context.drawImage(helloWorldImage,155,110);
            }
            helloWorldImage.src="helloworld.jpg";

            //box
            context.strokeStyle="#000000";
            context.strokeRect(5,5,490,290);


        }

        </script>
    </head>
    <body>
        
    <div style="position:absolute;top:50px;left:50px">    
        <canvas id="canvasOne" width="500" height="300">
            Your browser does not support HTML5 Canvas.
        </canvas>
    </div>
    </body>
    </html>